//
//  HYThemeItem.m
//  _normal
//
//  Created by Ezra on 16/6/6.
//  Copyright © 2016年 Ezra. All rights reserved.
//

#import "HYThemeItem.h"
#import <MJExtension/MJExtension.h>


@implementation HYThemeItem

+ (NSDictionary *)mj_objectClassInArray
{
    return @{@"top_cmt":@"HYCommentItem"};
}

- (void)setTop_cmt:(NSArray *)top_cmt
{
    _top_cmt = top_cmt;
    
    //简化数据结构
    if (top_cmt.count) {
        self.commentItem = top_cmt.firstObject;
    }
}

@end
